﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.IO;

namespace SisocanaFronEnd.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISaveFileService" in both code and config file together.
    [ServiceContract]
    public interface ISaveFileService
    {
        [OperationContract]
        FileInfo[] getFiles(string directoryPath);

        [OperationContract]
        bool saveFile(string filePath, byte[] fileContent, bool compressed);
        
        [OperationContract]
        bool deleteFile(string filePath);
    }
}
